package app.fugema.shop.main.goods.adapter;

import com.base.common.model.bean.ADInfo;
import com.base.common.view.adapter.ada.GeneralRecyclerAdapter;
import com.base.common.view.adapter.connector.BaseItemMultiType;
import app.fugema.shop.R;
import app.fugema.shop.databinding.GroupBookingTopItemBinding;

public class GroupBookingAdapter extends GeneralRecyclerAdapter {
    @Override
    public void initMultiItemType() {

        putMultiItemType(new BaseItemMultiType<ADInfo, GroupBookingTopItemBinding>() {
            @Override
            public int getItemViewType() {
                return TYPE_CHILD_ONE;
            }

            @Override
            public int getLayoutId() {
                return R.layout.group_booking_top_item;
            }
        });


        putMultiItemType(new GroupBookingItemMultiType());
    }

}
